#include "stm32f10x.h"                  // Device header
#include "serial.h"
#include "OLED.h"
uint8_t RXData;
int main()
{
	Serial_Init();
	OLED_Init();
	OLED_ShowString(1,1,"RXData:");
	while(1)
	{
		if(Get_RXFlag()==1)
		{
			RXData=Get_RXData();
			Serial_SendByte(RXData);
			OLED_ShowHexNum(1,8,RXData,2);
		}
	}
}

